/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package CocoFood.DTO;

import java.io.Serializable;

/**
 *
 * @author tinliensolution
 */
public class TisoShopOrderItemTO implements Serializable {

    private long id;
    private long orderId;
    private long itemId;
    private int itemQty;
    private float itemWeight;
    private float itemPrice;
    private int taxRace;
    private int taxAmt;
    private float deliveryCost;
    private String remarks;
    private float total;
    private float totalAmount;
    private String formatTotal;
    private String totalPrice;
    private float totalTax;
    private String delivery;
    private String sum;
    private TisoPostingTO productTO;

    public TisoShopOrderItemTO() {
    }

    public TisoShopOrderItemTO(long id, long orderId, long itemId, int itemQty, float itemWeight, float itemPrice, int taxRace, int taxAmt, float deliveryCost, String remarks) {
        this.id = id;
        this.orderId = orderId;
        this.itemId = itemId;
        this.itemQty = itemQty;
        this.itemWeight = itemWeight;
        this.itemPrice = itemPrice;
        this.taxRace = taxRace;
        this.taxAmt = taxAmt;
        this.deliveryCost = deliveryCost;
        this.remarks = remarks;
    }

    public float getDeliveryCost() {
        return deliveryCost;
    }

    public void setDeliveryCost(float deliveryCost) {
        this.deliveryCost = deliveryCost;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getItemId() {
        return itemId;
    }

    public void setItemId(long itemId) {
        this.itemId = itemId;
    }

    public float getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(float itemPrice) {
        this.itemPrice = itemPrice;
    }

    public int getItemQty() {
        return itemQty;
    }

    public void setItemQty(int itemQty) {
        this.itemQty = itemQty;
    }

    public float getItemWeight() {
        return itemWeight;
    }

    public void setItemWeight(float itemWeight) {
        this.itemWeight = itemWeight;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public int getTaxAmt() {
        return taxAmt;
    }

    public void setTaxAmt(int taxAmt) {
        this.taxAmt = taxAmt;
    }

    public int getTaxRace() {
        return taxRace;
    }

    public void setTaxRace(int taxRace) {
        this.taxRace = taxRace;
    }

    // GET ===============
    public float getTotal() {
        return total;
    }

    public float getTotalAmount() {
        return totalAmount;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public float getTotalTax() {
        return totalTax;
    }

    public String getDelivery() {
        return delivery;
    }

    public String getFormatTotal() {
        return formatTotal;
    }

    public String getSum() {
        return sum;
    }

    public TisoPostingTO getProductTO() {
        return productTO;
    }

    public void setProductTO(TisoPostingTO productTO) {
        this.productTO = productTO;
    }
}
